import cv2
image_Color=cv2.imread("car.png")
print("显示彩色图像的属性：")
print("shape",image_Color.shape)
print("size=",image_Color.size)
print("type=",image_Color.dtype)
image_Gray=cv2.imread("car.png",cv2.IMREAD_GRAYSCALE)
print("显示灰度图像的属性：")
print("shape=",image_Gray.shape)
print("size=",image_Gray.size)
print("dtype=",image_Gray.dtype)
